package com.hopes.bizz.basic.hazard.sds.dto;


import com.hopes.bizz.basic.hazard.sds.entity.HazChemicalInEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/11/15 19:40
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HazChemicalInDTO extends HazChemicalInEntity {
    private static final long serialVersionUID = -3700421254050360356L;

    private String sdsCode;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
